package com.h.forum.pojo.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UserModPasswordRequest {
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword; // 旧密码

    @NotBlank(message = "新密码不能为空")
    private String newPassword; // 新密码

    @NotBlank(message = "确认密码不能为空")
    private String passwordRepeat; // 确认密码
}
